package com.zt.utils;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.zt.base.BaseEntity;

/**
 * ControllerResult
 * 
 * @author zhangzhw
 * @describe 登录返回对象 主要处理发生异常的情况
 */
@SuppressWarnings("serial")
@XStreamAlias("error")
public class ControllerResult extends BaseEntity{

	private boolean isSuccess;
	private String title;
	private String errorMessage;
	private String detailMessage;

	public boolean isSuccess() {
		return isSuccess;
	}

	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public String getDetailMessage() {
		return detailMessage;
	}

	public void setDetailMessage(String detailMessage) {
		this.detailMessage = detailMessage;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

}
